package com.pacific.sign.biz.service;

import com.pacific.common.request.CommonRequest;
import com.pacific.common.response.CommonResponse;
import com.pacific.sign.model.po.pac.mbg.PacHcGroup;
import com.pacific.sign.model.po.pac.request.PacHcGroupRequest;
import com.pacific.sign.model.po.pac.response.PacHcGroupResponse;

/**
 * Created by 1 on 2017/6/30.
 */
public interface HcGroupService {

    public CommonResponse<PacHcGroupResponse> query(CommonRequest<PacHcGroupRequest> request);

    /**
     * 新增
     */
    public CommonResponse<Integer> insert(CommonRequest<PacHcGroup> request);

    /**
     * 更新
     */
    public CommonResponse<Integer> update(CommonRequest<PacHcGroup> request);

    /**
     * 删除
     */
    public CommonResponse<Integer> delete(CommonRequest<PacHcGroup> request);

    /**
     * id查询
     */
    public CommonResponse<PacHcGroup> queryById(CommonRequest<Integer> request);

    /**
     * 根据级别码查询
     */
    public CommonResponse<PacHcGroup> queryByCode(CommonRequest<String> request);
}
